package com.be.beadmin.service.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

/**
 * @author chenwei
 * @version 1.0
 * @data 2023/5/10 10:34
 */
@Entity
@Getter
@Setter
@Table(name="sys_print_design_item")
public class PrintDesignItem extends BaseEntity {

    @ManyToOne(fetch = FetchType.LAZY,cascade = CascadeType.ALL)
    @JoinColumn(name = "PRINT_DESIGN_FILE_ID",columnDefinition = "VARCHAR(45) COMMENT '字典主表信息' ")
    private PrintDesignFile printDesignFile;


    @Column(name = "Field",columnDefinition = "VARCHAR(50) COMMENT '域名' ")
    private String field ;

    @Column(name = "Text",columnDefinition = "VARCHAR(50) COMMENT '值' ")
    private String text ;
}
